// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Vuex from 'vuex'
import ViewUI from 'view-design'
import App from './App'
import router from './router'
// import store from './store/index'
import 'view-design/dist/styles/iview.css'

Vue.config.productionTip = false
Vue.use(ViewUI)
Vue.use(Vuex)

var store = new Vuex.Store({
  state: {
    go: 'gogogo'
  },
  getters: {},
  mutations: {},
  actions: {}
})
Vue.prototype.bus = new Vue()
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
